package com.dlwx.firefighting.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/8/29.
 */

public class BaseBean<T,K> {
    private int code;
    private String res;
    private Bodybean<T,K> body;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getRes() {
        return res;
    }

    public void setRes(String res) {
        this.res = res;
    }

    public Bodybean<T,K> getBody() {
        return body;
    }

    public void setBody(Bodybean<T,K> body) {
        this.body = body;
    }

    public class Bodybean<T,K> {
        private T data;
        private List<K> datas;

        public T getData() {
            return data;
        }

        public void setData(T data) {
            this.data = data;
        }

        public List<K> getDatas() {
            return datas;
        }

        public void setDatas(List<K> datas) {
            this.datas = datas;
        }
    }
}
